load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//rs:system-tests-pkg"])

rust_library(
    name = "sns_system_test_lib",
    testonly = True,
    srcs = glob(["src/*.rs"]),
    deps = [
        # Keep sorted.
        "//packages/icrc-ledger-agent:icrc_ledger_agent",
        "//packages/icrc-ledger-types:icrc_ledger_types",
        "//rs/canister_client",
        "//rs/canister_client/sender",
        "//rs/ledger_suite/common/ledger_core",
        "//rs/ledger_suite/icp:icp_ledger",
        "//rs/ledger_suite/icrc1/test_utils",
        "//rs/nervous_system/common",
        "//rs/nervous_system/common/test_keys",
        "//rs/nervous_system/proto",
        "//rs/nns/common",
        "//rs/nns/constants",
        "//rs/nns/governance/api",
        "//rs/registry/subnet_type",
        "//rs/rosetta-api/common/rosetta_core:rosetta-core",
        "//rs/rosetta-api/icp/test_utils",
        "//rs/sns/governance",
        "//rs/sns/swap",
        "//rs/tests/consensus/utils",
        "//rs/tests/driver:ic-system-test-driver",
        "//rs/types/base_types",
        "//rs/types/types",
        "//rs/universal_canister/lib",
        "@crate_index//:anyhow",
        "@crate_index//:candid",
        "@crate_index//:ic-agent",
        "@crate_index//:ic-utils",
        "@crate_index//:rand",
        "@crate_index//:rand_chacha",
        "@crate_index//:serde",
        "@crate_index//:serde_json",
        "@crate_index//:slog",
        "@crate_index//:tokio",
    ],
)
